import 'package:arco_flutter/arco_flutter.dart';
import 'package:flutter/material.dart';

import 'package:get/get.dart';

import '../controllers/typography1_controller.dart';

///标题
class Typography1View extends GetView<Typography1Controller> {
    const Typography1View({super.key});
    @override
    Widget build(BuildContext context) {
        return const Scaffold(
            body:  Center(
                child: Wrap(
                    spacing: 10,
                    direction: Axis.vertical,
                    children: [
                        ATypography(text: 'H1. The Pragmatic Romanticism',heading: ATypographyHeading.h1),
                        ATypography(text: 'H2. The Pragmatic Romanticism',heading: ATypographyHeading.h2),
                        ATypography(text: 'H3. The Pragmatic Romanticism',heading: ATypographyHeading.h3),
                        ATypography(text: 'H4. The Pragmatic Romanticism',heading: ATypographyHeading.h4),
                        ATypography(text: 'H5. The Pragmatic Romanticism',heading: ATypographyHeading.h5),
                        ATypography(text: 'H6. The Pragmatic Romanticism',heading: ATypographyHeading.h6),
                    ],
                )
            ),
        );
    }
}
